<?php !defined('IN_DSW') && exit('大神你要飞呀');?>
{Tinwin include:top}
{Tinwin include:left}
<div class="main">
	<div class="position">
		<ul>
			<li><a href="{Tinwin c:ADMIN_URL}index">{Tinwin $Lang['common']['Home']}</a></li>
			<li>/</li>
			<li><a href="{Tinwin c:MyAppUrl}navmenu">{Tinwin $Lang['form']['MenuManage']}</li>
			<li>/</li>
			<li>{Tinwin $FormTitle}</li>
		</ul>
    </div>
    <div class="mainform">
        {Tinwin include:navmenu_nav}
    </div>    
	<div class="maininfo">
		<table class="table">
			<thead>
				<tr>
					<td>{Tinwin $Lang['table']['Inrow']}</td>
					<td>ID</td>
					<td>{Tinwin $Lang['table']['MenuName']}</td>
					<td>{Tinwin $Lang['table']['MenuType']}</td>
					<td>{Tinwin $Lang['table']['ViewSunMenu']}</td>
	<!-- 				<td>新增同级菜单</td>
					<td>新增下级菜单</td> -->
					<td>{Tinwin $Lang['table']['IsView']}</td>
					<td>{Tinwin $Lang['table']['IsMain']}</td>
					<td>{Tinwin $Lang['table']['IsOutLink']}</td>
					<td colspan="4">{Tinwin $Lang['table']['Operation']}</td>
				</tr>
			</thead>
			<tbody>
			{Tinwin tree $ListAll,myList,cid}
			<tr>
				<td>{Tinwin v:myList['inrow']}</td>
				<td>{Tinwin v:myList['id']}</td>
				<td>{Tinwin v:myList['menu_label']}</td>
				<td>{Tinwin v:myList['menu_type']}</td>
				<td><a class="glyphicon glyphicon-th-list" href="{Tinwin c:ADMIN_URL}navmenu-manage&cid={Tinwin v:myList['id']}"></a></td>
				
				<td onClick="DisplayOK(this)" id="{Tinwin c:ADMIN_URL}navmenu-isview&id={Tinwin v:myList['id']}" style="cursor:pointer;">
					{Tinwin if v:myList['isview']==1}		
						<span class="glyphicon glyphicon-eye-open"></span>
					{Tinwin else}
						<span class="glyphicon glyphicon-eye-close"></span>
					{Tinwin endif}
				</td>
				<td onClick="DisplayOK(this)" id="{Tinwin c:ADMIN_URL}navmenu-ismain&id={Tinwin v:myList['id']}" style="cursor:pointer;">
					{Tinwin if v:myList['ismain']==1}		
						<span class="glyphicon glyphicon-star"></span>
					{Tinwin else}
						<span class="glyphicon glyphicon-star-empty"></span>
					{Tinwin endif}
				</td>
				<td onClick="DisplayOK(this)" id="{Tinwin c:ADMIN_URL}navmenu-isoutlink&id={Tinwin v:myList['id']}" style="cursor:pointer;">
					{Tinwin if v:myList['isoutlink']==1}		
						<span class="glyphicon glyphicon-star"></span>
					{Tinwin else}
						<span class="glyphicon glyphicon-star-empty"></span>
					{Tinwin endif}
				</td>
				<td><a class="glyphicon glyphicon-random" href="{Tinwin c:ADMIN_URL}navmenu-add&cid={Tinwin v:myList['parent_id']}"></a></td>
				<td><a class="glyphicon glyphicon-plus-sign" href="{Tinwin c:ADMIN_URL}navmenu-add&cid={Tinwin v:myList['id']}"></a></td>
				<td><a class="glyphicon glyphicon-edit" href="{Tinwin c:ADMIN_URL}navmenu-edit&cid={Tinwin v:myList['parent_id']}&id={Tinwin v:myList['id']}"></a></td>
				<td><a class="glyphicon glyphicon-remove" href="#" onclick='dswfirm("{Tinwin c:ADMIN_URL}navmenu-del&id={Tinwin v:myList['id']}","{Tinwin $Lang['table']['DelTips']}")'></a></td>
			</tr>
			{Tinwin endtree}
			<tr>
		</tbody>
		</table>
		<div class="page"><section><ul>{Tinwin $pages}</ul></section></div>
</div>
{Tinwin include:footer}
